package com.etoak.stock.pojo.domin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Author by 孙有泽
 * @Date 2024/11/11 13:40
 * @Description 添加权限时回显权限树,仅仅显示目录和菜单
 */
@ApiModel(description = "添加权限时回显权限树,仅仅显示目录和菜单")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SysPermissionTreeDomain {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", position = 1)
    private Long id;

    /**
     * 菜单权限名称
     */
    @ApiModelProperty(value = "菜单权限名称", position = 2)
    private String title;
    /**
     * 菜单属于那一级
     */
    @ApiModelProperty(value = "菜单属于那一级", position = 3)
    private Integer level;
}
